package models

import "time"

// 志愿模拟结果
type Volunteer struct {
	Id          int64     `xorm:"pk autoincr" json:"volunteerId"`
	UserId      int64     `xorm:"comment('学生id')" json:"-"`
	CollegeId   int64     `xorm:"comment('院校id')" json:"-"`
	Year        int       `xorm:"comment('年份')" json:"volunteerYear"`
	MajorName   string    `xorm:"comment('专业名称')" json:"volunteerMajorName"`
	Score       int       `xorm:"comment('总成绩')" json:"volunteerScore"`
	Sort        int       `xorm:"comment('排序 由低到高 从第一志愿到第四志愿')" json:"volunteerSort"`
	Probability float64   `xorm:"decimal(10,2) comment('录取概率')" json:"volunteerProbability"`
	Created     time.Time `xorm:"created comment('创建时间')" json:"-"`
	Deleted     time.Time `xorm:"deleted comment('删除时间')" json:"-"`
}
